{% extends "homepage\base_generic.html" %}
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	{% block title %} <title>Log into CC</title> {% endblock title%}
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
</head>
<body>
{% block content %}
	{{ state }}
	<form action="/CostCalc/Login/" method="post">{% csrf_token %}
       
		{% if next %}
                <input type="hidden" name="next" value="{{ next }}" />
		{% endif %}
		username:
                <input type="text" name="username" value="{{ username}}" /\><br>
                password:
                <input type="password" name="password" value="" /><br />
    
                <input type="submit" value="Log In" />
		
		{% for field in form %}
			{{ field.label_tag}}
		{% endfor %}
	</form>
</body>
</html>
{% endblock content %}